class UserAddressModel {
  int cityMunicipalityId;
  String cityName;
  int provinceId;
  String provinceName;
  String address;
  bool selectAddress = false;
  Map user;

  UserAddressModel(
      {this.cityMunicipalityId,
      this.cityName,
      this.provinceId,
      this.provinceName,
      this.address});

  UserAddressModel.fromJson(Map<String, dynamic> json) {
    cityMunicipalityId = json['cityMunicipalityId'];
    cityName = json['cityName'];
    provinceId = json['provinceId'];
    provinceName = json['provinceName'];
    address = json['address'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['cityMunicipalityId'] = this.cityMunicipalityId;
    data['cityName'] = this.cityName;
    data['provinceId'] = this.provinceId;
    data['provinceName'] = this.provinceName;
    data['address'] = this.address;
    return data;
  }
}
